![]() | ![]() | ![]() | ![]() |
When a FILENAME statement points to a folder and the INFILE statement that uses it adds the specific file to read, errors are generated if the physical file contains special characters like quotes or parentheses.
Prior to SAS 9.2 the only solution was to combine the path and name into either the FILENAME or INFILE statement. With SAS 9.2 and beyond, code similar to the following will work correctly:
filename CSVFILES "C:\junk\"; data _1; infile CSVFILES("a(asd).txt") dsd; input A B C; run;
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | 9.2 TS2M2 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | 9.2 TS2M2 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 | 9.2 TS2M2 | ||
Windows Vista | 9.1 TS1M3 | 9.2 TS2M2 | ||
Windows Vista for x64 | 9.1 TS1M3 | 9.2 TS2M2 |